package com.entity;

import java.util.ArrayList;
import java.util.List;

public class RegisterbookExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public RegisterbookExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRegisterbookidIsNull() {
            addCriterion("registerbookid is null");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidIsNotNull() {
            addCriterion("registerbookid is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidEqualTo(Integer value) {
            addCriterion("registerbookid =", value, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidNotEqualTo(Integer value) {
            addCriterion("registerbookid <>", value, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidGreaterThan(Integer value) {
            addCriterion("registerbookid >", value, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidGreaterThanOrEqualTo(Integer value) {
            addCriterion("registerbookid >=", value, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidLessThan(Integer value) {
            addCriterion("registerbookid <", value, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidLessThanOrEqualTo(Integer value) {
            addCriterion("registerbookid <=", value, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidIn(List<Integer> values) {
            addCriterion("registerbookid in", values, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidNotIn(List<Integer> values) {
            addCriterion("registerbookid not in", values, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidBetween(Integer value1, Integer value2) {
            addCriterion("registerbookid between", value1, value2, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbookidNotBetween(Integer value1, Integer value2) {
            addCriterion("registerbookid not between", value1, value2, "registerbookid");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoIsNull() {
            addCriterion("registerbookno is null");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoIsNotNull() {
            addCriterion("registerbookno is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoEqualTo(Integer value) {
            addCriterion("registerbookno =", value, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoNotEqualTo(Integer value) {
            addCriterion("registerbookno <>", value, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoGreaterThan(Integer value) {
            addCriterion("registerbookno >", value, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoGreaterThanOrEqualTo(Integer value) {
            addCriterion("registerbookno >=", value, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoLessThan(Integer value) {
            addCriterion("registerbookno <", value, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoLessThanOrEqualTo(Integer value) {
            addCriterion("registerbookno <=", value, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoIn(List<Integer> values) {
            addCriterion("registerbookno in", values, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoNotIn(List<Integer> values) {
            addCriterion("registerbookno not in", values, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoBetween(Integer value1, Integer value2) {
            addCriterion("registerbookno between", value1, value2, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andRegisterbooknoNotBetween(Integer value1, Integer value2) {
            addCriterion("registerbookno not between", value1, value2, "registerbookno");
            return (Criteria) this;
        }

        public Criteria andHidIsNull() {
            addCriterion("hid is null");
            return (Criteria) this;
        }

        public Criteria andHidIsNotNull() {
            addCriterion("hid is not null");
            return (Criteria) this;
        }

        public Criteria andHidEqualTo(Integer value) {
            addCriterion("hid =", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidNotEqualTo(Integer value) {
            addCriterion("hid <>", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidGreaterThan(Integer value) {
            addCriterion("hid >", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidGreaterThanOrEqualTo(Integer value) {
            addCriterion("hid >=", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidLessThan(Integer value) {
            addCriterion("hid <", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidLessThanOrEqualTo(Integer value) {
            addCriterion("hid <=", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidIn(List<Integer> values) {
            addCriterion("hid in", values, "hid");
            return (Criteria) this;
        }

        public Criteria andHidNotIn(List<Integer> values) {
            addCriterion("hid not in", values, "hid");
            return (Criteria) this;
        }

        public Criteria andHidBetween(Integer value1, Integer value2) {
            addCriterion("hid between", value1, value2, "hid");
            return (Criteria) this;
        }

        public Criteria andHidNotBetween(Integer value1, Integer value2) {
            addCriterion("hid not between", value1, value2, "hid");
            return (Criteria) this;
        }

        public Criteria andServiceidIsNull() {
            addCriterion("serviceid is null");
            return (Criteria) this;
        }

        public Criteria andServiceidIsNotNull() {
            addCriterion("serviceid is not null");
            return (Criteria) this;
        }

        public Criteria andServiceidEqualTo(Integer value) {
            addCriterion("serviceid =", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidNotEqualTo(Integer value) {
            addCriterion("serviceid <>", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidGreaterThan(Integer value) {
            addCriterion("serviceid >", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidGreaterThanOrEqualTo(Integer value) {
            addCriterion("serviceid >=", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidLessThan(Integer value) {
            addCriterion("serviceid <", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidLessThanOrEqualTo(Integer value) {
            addCriterion("serviceid <=", value, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidIn(List<Integer> values) {
            addCriterion("serviceid in", values, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidNotIn(List<Integer> values) {
            addCriterion("serviceid not in", values, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidBetween(Integer value1, Integer value2) {
            addCriterion("serviceid between", value1, value2, "serviceid");
            return (Criteria) this;
        }

        public Criteria andServiceidNotBetween(Integer value1, Integer value2) {
            addCriterion("serviceid not between", value1, value2, "serviceid");
            return (Criteria) this;
        }

        public Criteria andLandstatusIsNull() {
            addCriterion("landstatus is null");
            return (Criteria) this;
        }

        public Criteria andLandstatusIsNotNull() {
            addCriterion("landstatus is not null");
            return (Criteria) this;
        }

        public Criteria andLandstatusEqualTo(String value) {
            addCriterion("landstatus =", value, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusNotEqualTo(String value) {
            addCriterion("landstatus <>", value, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusGreaterThan(String value) {
            addCriterion("landstatus >", value, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusGreaterThanOrEqualTo(String value) {
            addCriterion("landstatus >=", value, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusLessThan(String value) {
            addCriterion("landstatus <", value, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusLessThanOrEqualTo(String value) {
            addCriterion("landstatus <=", value, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusLike(String value) {
            addCriterion("landstatus like", value, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusNotLike(String value) {
            addCriterion("landstatus not like", value, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusIn(List<String> values) {
            addCriterion("landstatus in", values, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusNotIn(List<String> values) {
            addCriterion("landstatus not in", values, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusBetween(String value1, String value2) {
            addCriterion("landstatus between", value1, value2, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLandstatusNotBetween(String value1, String value2) {
            addCriterion("landstatus not between", value1, value2, "landstatus");
            return (Criteria) this;
        }

        public Criteria andLanduseyearIsNull() {
            addCriterion("landuseyear is null");
            return (Criteria) this;
        }

        public Criteria andLanduseyearIsNotNull() {
            addCriterion("landuseyear is not null");
            return (Criteria) this;
        }

        public Criteria andLanduseyearEqualTo(Integer value) {
            addCriterion("landuseyear =", value, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearNotEqualTo(Integer value) {
            addCriterion("landuseyear <>", value, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearGreaterThan(Integer value) {
            addCriterion("landuseyear >", value, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearGreaterThanOrEqualTo(Integer value) {
            addCriterion("landuseyear >=", value, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearLessThan(Integer value) {
            addCriterion("landuseyear <", value, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearLessThanOrEqualTo(Integer value) {
            addCriterion("landuseyear <=", value, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearIn(List<Integer> values) {
            addCriterion("landuseyear in", values, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearNotIn(List<Integer> values) {
            addCriterion("landuseyear not in", values, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearBetween(Integer value1, Integer value2) {
            addCriterion("landuseyear between", value1, value2, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andLanduseyearNotBetween(Integer value1, Integer value2) {
            addCriterion("landuseyear not between", value1, value2, "landuseyear");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaIsNull() {
            addCriterion("buildingcommonarea is null");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaIsNotNull() {
            addCriterion("buildingcommonarea is not null");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaEqualTo(Double value) {
            addCriterion("buildingcommonarea =", value, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaNotEqualTo(Double value) {
            addCriterion("buildingcommonarea <>", value, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaGreaterThan(Double value) {
            addCriterion("buildingcommonarea >", value, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaGreaterThanOrEqualTo(Double value) {
            addCriterion("buildingcommonarea >=", value, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaLessThan(Double value) {
            addCriterion("buildingcommonarea <", value, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaLessThanOrEqualTo(Double value) {
            addCriterion("buildingcommonarea <=", value, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaIn(List<Double> values) {
            addCriterion("buildingcommonarea in", values, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaNotIn(List<Double> values) {
            addCriterion("buildingcommonarea not in", values, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaBetween(Double value1, Double value2) {
            addCriterion("buildingcommonarea between", value1, value2, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andBuildingcommonareaNotBetween(Double value1, Double value2) {
            addCriterion("buildingcommonarea not between", value1, value2, "buildingcommonarea");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("`uid` is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("`uid` is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("`uid` =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("`uid` <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("`uid` >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("`uid` >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("`uid` <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("`uid` <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("`uid` in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("`uid` not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("`uid` between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("`uid` not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andBuildingidIsNull() {
            addCriterion("buildingid is null");
            return (Criteria) this;
        }

        public Criteria andBuildingidIsNotNull() {
            addCriterion("buildingid is not null");
            return (Criteria) this;
        }

        public Criteria andBuildingidEqualTo(Integer value) {
            addCriterion("buildingid =", value, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidNotEqualTo(Integer value) {
            addCriterion("buildingid <>", value, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidGreaterThan(Integer value) {
            addCriterion("buildingid >", value, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidGreaterThanOrEqualTo(Integer value) {
            addCriterion("buildingid >=", value, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidLessThan(Integer value) {
            addCriterion("buildingid <", value, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidLessThanOrEqualTo(Integer value) {
            addCriterion("buildingid <=", value, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidIn(List<Integer> values) {
            addCriterion("buildingid in", values, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidNotIn(List<Integer> values) {
            addCriterion("buildingid not in", values, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidBetween(Integer value1, Integer value2) {
            addCriterion("buildingid between", value1, value2, "buildingid");
            return (Criteria) this;
        }

        public Criteria andBuildingidNotBetween(Integer value1, Integer value2) {
            addCriterion("buildingid not between", value1, value2, "buildingid");
            return (Criteria) this;
        }

        public Criteria andClientidIsNull() {
            addCriterion("clientid is null");
            return (Criteria) this;
        }

        public Criteria andClientidIsNotNull() {
            addCriterion("clientid is not null");
            return (Criteria) this;
        }

        public Criteria andClientidEqualTo(Integer value) {
            addCriterion("clientid =", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidNotEqualTo(Integer value) {
            addCriterion("clientid <>", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidGreaterThan(Integer value) {
            addCriterion("clientid >", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidGreaterThanOrEqualTo(Integer value) {
            addCriterion("clientid >=", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidLessThan(Integer value) {
            addCriterion("clientid <", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidLessThanOrEqualTo(Integer value) {
            addCriterion("clientid <=", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidIn(List<Integer> values) {
            addCriterion("clientid in", values, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidNotIn(List<Integer> values) {
            addCriterion("clientid not in", values, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidBetween(Integer value1, Integer value2) {
            addCriterion("clientid between", value1, value2, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidNotBetween(Integer value1, Integer value2) {
            addCriterion("clientid not between", value1, value2, "clientid");
            return (Criteria) this;
        }

        public Criteria andOsidIsNull() {
            addCriterion("osid is null");
            return (Criteria) this;
        }

        public Criteria andOsidIsNotNull() {
            addCriterion("osid is not null");
            return (Criteria) this;
        }

        public Criteria andOsidEqualTo(Integer value) {
            addCriterion("osid =", value, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidNotEqualTo(Integer value) {
            addCriterion("osid <>", value, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidGreaterThan(Integer value) {
            addCriterion("osid >", value, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidGreaterThanOrEqualTo(Integer value) {
            addCriterion("osid >=", value, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidLessThan(Integer value) {
            addCriterion("osid <", value, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidLessThanOrEqualTo(Integer value) {
            addCriterion("osid <=", value, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidIn(List<Integer> values) {
            addCriterion("osid in", values, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidNotIn(List<Integer> values) {
            addCriterion("osid not in", values, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidBetween(Integer value1, Integer value2) {
            addCriterion("osid between", value1, value2, "osid");
            return (Criteria) this;
        }

        public Criteria andOsidNotBetween(Integer value1, Integer value2) {
            addCriterion("osid not between", value1, value2, "osid");
            return (Criteria) this;
        }

        public Criteria andBuildingareaIsNull() {
            addCriterion("buildingarea is null");
            return (Criteria) this;
        }

        public Criteria andBuildingareaIsNotNull() {
            addCriterion("buildingarea is not null");
            return (Criteria) this;
        }

        public Criteria andBuildingareaEqualTo(Double value) {
            addCriterion("buildingarea =", value, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaNotEqualTo(Double value) {
            addCriterion("buildingarea <>", value, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaGreaterThan(Double value) {
            addCriterion("buildingarea >", value, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaGreaterThanOrEqualTo(Double value) {
            addCriterion("buildingarea >=", value, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaLessThan(Double value) {
            addCriterion("buildingarea <", value, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaLessThanOrEqualTo(Double value) {
            addCriterion("buildingarea <=", value, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaIn(List<Double> values) {
            addCriterion("buildingarea in", values, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaNotIn(List<Double> values) {
            addCriterion("buildingarea not in", values, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaBetween(Double value1, Double value2) {
            addCriterion("buildingarea between", value1, value2, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andBuildingareaNotBetween(Double value1, Double value2) {
            addCriterion("buildingarea not between", value1, value2, "buildingarea");
            return (Criteria) this;
        }

        public Criteria andDelstatusIsNull() {
            addCriterion("delstatus is null");
            return (Criteria) this;
        }

        public Criteria andDelstatusIsNotNull() {
            addCriterion("delstatus is not null");
            return (Criteria) this;
        }

        public Criteria andDelstatusEqualTo(Integer value) {
            addCriterion("delstatus =", value, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusNotEqualTo(Integer value) {
            addCriterion("delstatus <>", value, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusGreaterThan(Integer value) {
            addCriterion("delstatus >", value, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("delstatus >=", value, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusLessThan(Integer value) {
            addCriterion("delstatus <", value, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusLessThanOrEqualTo(Integer value) {
            addCriterion("delstatus <=", value, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusIn(List<Integer> values) {
            addCriterion("delstatus in", values, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusNotIn(List<Integer> values) {
            addCriterion("delstatus not in", values, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusBetween(Integer value1, Integer value2) {
            addCriterion("delstatus between", value1, value2, "delstatus");
            return (Criteria) this;
        }

        public Criteria andDelstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("delstatus not between", value1, value2, "delstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusIsNull() {
            addCriterion("printstatus is null");
            return (Criteria) this;
        }

        public Criteria andPrintstatusIsNotNull() {
            addCriterion("printstatus is not null");
            return (Criteria) this;
        }

        public Criteria andPrintstatusEqualTo(Integer value) {
            addCriterion("printstatus =", value, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusNotEqualTo(Integer value) {
            addCriterion("printstatus <>", value, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusGreaterThan(Integer value) {
            addCriterion("printstatus >", value, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("printstatus >=", value, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusLessThan(Integer value) {
            addCriterion("printstatus <", value, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusLessThanOrEqualTo(Integer value) {
            addCriterion("printstatus <=", value, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusIn(List<Integer> values) {
            addCriterion("printstatus in", values, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusNotIn(List<Integer> values) {
            addCriterion("printstatus not in", values, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusBetween(Integer value1, Integer value2) {
            addCriterion("printstatus between", value1, value2, "printstatus");
            return (Criteria) this;
        }

        public Criteria andPrintstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("printstatus not between", value1, value2, "printstatus");
            return (Criteria) this;
        }

        public Criteria andRoomidIsNull() {
            addCriterion("roomid is null");
            return (Criteria) this;
        }

        public Criteria andRoomidIsNotNull() {
            addCriterion("roomid is not null");
            return (Criteria) this;
        }

        public Criteria andRoomidEqualTo(Integer value) {
            addCriterion("roomid =", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotEqualTo(Integer value) {
            addCriterion("roomid <>", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidGreaterThan(Integer value) {
            addCriterion("roomid >", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidGreaterThanOrEqualTo(Integer value) {
            addCriterion("roomid >=", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLessThan(Integer value) {
            addCriterion("roomid <", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidLessThanOrEqualTo(Integer value) {
            addCriterion("roomid <=", value, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidIn(List<Integer> values) {
            addCriterion("roomid in", values, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotIn(List<Integer> values) {
            addCriterion("roomid not in", values, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidBetween(Integer value1, Integer value2) {
            addCriterion("roomid between", value1, value2, "roomid");
            return (Criteria) this;
        }

        public Criteria andRoomidNotBetween(Integer value1, Integer value2) {
            addCriterion("roomid not between", value1, value2, "roomid");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
